using GameFramework.WebServer;
using GameFramework.Reference;

namespace Server.Proto
{
    public class WebQueryServerListReq : WebServerReq<WebQueryServerListResp>
    {
        public const string RouteKey = "query_server_list";

        public override string Route => RouteKey;
        
        /// <summary>
        /// 设备id
        /// </summary>
        public string DeviceId { get; set; }
        
        /// <summary>
        /// 账号id
        /// </summary>
        public long AccountId { get; set; }

        public override void OnRecycle()
        {
            DeviceId = string.Empty;
            AccountId = default;
        }
    }
}